package com.ego.order.service.impl;

import com.ego.inter.domain.UserAddress;
import com.ego.inter.service.OrderService;
import com.ego.inter.service.UserService;

import java.util.List;

/**
 * @date 2020/10/12 14:08
 */
public class OrderServiceImpl implements OrderService {

    private UserService userService;

    public void setUserService(UserService userService) {
        this.userService = userService;
    }

    public List<UserAddress> initOrder() {
        return userService.queryAllAddress();
    }
}
